using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Joy.Erp.BasicArchives.Core.Filters;

namespace Joy.Erp.BasicArchives.Receipt
{
    public interface IReceivementTypeAppService
    {
        Task<ReceivementTypeDto> GetAsync(Guid id);
        Task<ReceivementTypeDto> FindAsync(string filter);
        Task<ReceivementTypeDto> FindBySourceKeyAsync(string sourceKey, string sourceType);
        Task<PagedResultDto<ReceivementTypeDto>> GetListAsync(FilterRequestDto input);
        Task<PagedResultDto<ReceivementTypeDto>> QueryAsync(FilterGroupRequestDto input);
        Task<ReceivementTypeDto> CreateAsync(ReceivementTypeCreateDto input);
        Task<ReceivementTypeDto> UpdateAsync(Guid id, ReceivementTypeUpdateDto input);
        Task DeleteAsync(Guid id);
    }
}